﻿using System;
using Furesoft.Database.AST.Basic;

namespace Furesoft.Database.AST
{
    public class SelectStmt : IAst
    {
        public override void Accept(IAstVisitor visitor)
        {
            visitor.Visit(this);
        }

        public override string Name
        {
            get
            {
                return "select_command";
            }
        }

        public string @string { get; set; }
        public ConditionStmt condition { get; set; }

        public SelectStmt()
        {
            condition = new ConditionStmt();
        }
    }
}